package com.eatsystem.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.eatsystem.entity.OrderDetail;
import com.eatsystem.entity.Orders;

import java.util.List;

public interface OrderService extends IService<Orders> {

    //用户下单
    public void submit(Orders orders);

    public List<OrderDetail> getOrderDetailByOrderId(Long orderId);
}
